// QueuesUltimate.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "QueueInterface.h"
#include "Station.h"
#include "Scheduler.h"
#include "ConfigParser.h"

using namespace System::Threading;



int _tmain(int argc, _TCHAR* argv[])
{
	srand(time(NULL));
	ConfigParser config;

	map<string, Station*> stations = config.parseConfig("config.xml");
	Scheduler scheduler(100, &stations);

	scheduler.run();

	system("PAUSE");
	return 0;
}
